package top.lixunda.ecommerce.server.good.api.entity.db;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author Xumda
 * @since 2020-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("order_review_detail")
@ApiModel(value="OrderReviewDetailDO对象", description="VIEW")
public class OrderReviewDetailDO extends Model<OrderReviewDetailDO> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "唯一id")
    @TableField("id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "用户名称")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty(value = "店铺id")
    @TableField("store_id")
    private Integer storeId;

    @ApiModelProperty(value = "店铺名称")
    @TableField("store_name")
    private String storeName;

    @ApiModelProperty(value = "订单id")
    @TableField("order_id")
    private Integer orderId;

    @ApiModelProperty(value = "描述评分，总分10分，五颗星")
    @TableField("grade_desc")
    private Integer gradeDesc;

    @ApiModelProperty(value = "物流评分，总分10分，五颗星")
    @TableField("grade_logis")
    private Integer gradeLogis;

    @ApiModelProperty(value = "服务评分，总分10分，五颗星")
    @TableField("grade_service")
    private Integer gradeService;

    @ApiModelProperty(value = "评价")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "是否匿名，默认0，不匿名，0 不匿名 1 匿名")
    @TableField("anonymous_enable")
    private Integer anonymousEnable;

    @ApiModelProperty(value = "评论创建时间，即发表评论时间")
    @TableField("time")
    private LocalDateTime time;

    @ApiModelProperty(value = "图片id")
    @TableField("image_id")
    private Integer imageId;

    @ApiModelProperty(value = "店铺图片")
    @TableField("image")
    private String image;

    @ApiModelProperty(value = "外键管理文件系统")
    @TableField("image_file_id")
    private Integer imageFileId;

    @ApiModelProperty(value = "创建时间")
    @TableField("image_create_time")
    private LocalDateTime imageCreateTime;

    @ApiModelProperty(value = "唯一id")
    @TableField("order_review_more_id")
    private Integer orderReviewMoreId;

    @ApiModelProperty(value = "评价")
    @TableField("more_content")
    private String moreContent;

    @ApiModelProperty(value = "追评评论创建时间，即发表追评评论时间")
    @TableField("more_time")
    private LocalDateTime moreTime;

    @ApiModelProperty(value = "用户id")
    @TableField("more_user_id")
    private Integer moreUserId;

    @ApiModelProperty(value = "用户名称")
    @TableField("more_user_name")
    private String moreUserName;

    @ApiModelProperty(value = "图片id")
    @TableField("more_image_id")
    private Integer moreImageId;

    @ApiModelProperty(value = "店铺图片")
    @TableField("more_image")
    private String moreImage;

    @ApiModelProperty(value = "外键管理文件系统")
    @TableField("more_image_file_id")
    private Integer moreImageFileId;

    @ApiModelProperty(value = "创建时间")
    @TableField("more_image_create_time")
    private LocalDateTime moreImageCreateTime;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
